package com.sofwin.controller;

import com.sofwin.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @packageName: com.sofwin.controller
 * @user: andyliu
 * @date: 2021/12/13 11:10
 * @email 115176513@qq.com
 * @description: TODO
 */
@RestController
public class TestController {
    @Autowired
    public UserMapper mapper;
    @GetMapping("/a")
    public Integer a(){
        return mapper.selectUserCount();
    }
}
